package com.blb.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.blb.community.mapper.ZyRepairMapper;
import com.blb.community.pojo.ZyRepairNew;
import com.blb.community.pojo.zy.ZyRepair;
import com.blb.community.service.RepairService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RepairServiceImpl extends ServiceImpl<ZyRepairMapper, ZyRepairNew> implements RepairService {
    @Resource
    private ZyRepairMapper zyRepairMapper;
    @Override
    public List<ZyRepair> getRepairs(Long ownerId, Long repairType) {
        return zyRepairMapper.getRepairs(ownerId,repairType);
    }

    @Override
    public List<ZyRepair> getRepairs1(Long ownerId, Long repairType) {
        return zyRepairMapper.getRepairs1(ownerId,repairType);
    }
}
